package cn.bdqn.service;

import cn.bdqn.domain.Registration;

import java.util.List;

/**
 * @author 挂号表的业务接口
 */
public interface RegistrationService {

    /**
     * 插入挂号信息
     * @param registration 挂号信息内容
     * @return
     */
    public int insertRegistration(Registration registration);

    /**
     * 根据用户openId查询用户挂号信息
     * @param openId
     * @return
     */
    public List<Registration> selectRegistrations(String openId);


}
